package com.kaili.basic.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.kaili.basic.pojo.dto.BaseStoreHouseQueryDto;
import com.kaili.basic.pojo.entity.BaseCityVO;
import com.kaili.basic.pojo.entity.BaseStoreHouseEntity;
import com.kaili.basic.pojo.vo.BaseStoreHouseLikeVO;
import com.kaili.basic.pojo.vo.BaseStoreHouseVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author lsw
 * @Type BaseCityMapper
 * @Desc 杭州凯立通信有限公司
 * @Date 2019年03月08日
 */
@Mapper
public interface BaseStoreHouseMapper extends BaseMapper<BaseStoreHouseEntity> {
    public List<BaseStoreHouseEntity> queryPageList(Page<BaseStoreHouseEntity> page, BaseStoreHouseQueryDto queryDto);

    public Long queryStoreCoude();

    public Integer updateDefaultStore(Map<String,Object> map);

    public List<BaseStoreHouseLikeVO> queryAllStoreHouse();

    public List<BaseStoreHouseVO> storeHousesExport(BaseStoreHouseQueryDto queryDto);
}
